<!DOCTYPE HTML>
<html lang="zh" xmlns:th="http://www.thymeleaf.org">
<meta charset="utf-8">
<head th:include="include :: header"></head>
<body class="white-bg">
<div class="wrapper wrapper-content animated fadeInRight ibox-content">
    <form class="form-horizontal m" id="form-withdrawalConfig-edit">
        <input id="id" name="id" th:value="${withdrawalConfig.id}" type="hidden">
        <div class="form-group">
            <label class="col-sm-3 control-label">金额：</label>
            <div class="col-sm-8">
                <input id="wcMoney" name="wcMoney" th:value="${withdrawalConfig.wcMoney}" class="form-control"
                       type="text">
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-3 control-label">提现次数：</label>
            <div class="col-sm-8">
                <input id="wcNumber" name="wcNumber" th:value="${withdrawalConfig.wcNumber}" class="form-control"
                       type="number">
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-3 control-label">类型：</label>
            <div class="col-sm-8">
                <select class="form-control input-s-sm inline" id="wcTypeSelect" onchange="checkStatus('wcType')"
                        th:with="type=${@dictService.selectDictData('reward_type')}">
                    <option value="">请选择</option>
                    <option th:field="*{withdrawalConfig.wcType}" th:each="e : ${type}" th:text="${e['dictLabel']}"
                            th:value="${e['dictValue']}"></option>
                </select>
                <input style="display: none" id="wcType" name="wcType" class="form-control"
                       th:value="${withdrawalConfig.wcType}" type="text">
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-3 control-label">是否审核：</label>
            <div class="col-sm-8">
                <select class="form-control input-s-sm inline" id="wsToExamineSelect"
                        onchange="checkStatus('wsToExamine')"
                        th:with="type=${@dictService.selectDictData('biz_yes_no_two')}">
                    <option value="">请选择</option>
                    <option th:field="*{withdrawalConfig.wsToExamine}"  th:each="e : ${type}" th:text="${e['dictLabel']}" th:value="${e['dictValue']}"></option>
                </select>
                <input style="display: none" id="wsToExamine" name="wsToExamine" class="form-control"  th:value="${withdrawalConfig.wsToExamine}" type="text">
            </div>
        </div>
        <div class="form-group">
            <div class="form-control-static col-sm-offset-9">
                <button type="submit" class="btn btn-primary">提交</button>
                <button th:onclick="'javascript:layer_close()'" class="btn btn-danger" type="button">关闭</button>
            </div>
        </div>
    </form>
</div>
<div th:include="include::footer"></div>
<script src="/reasahi/manage/withdrawalConfig/edit.js" th:src="@{/reasahi/manage/withdrawalConfig/edit.js}">
</script>
</body>
</html>
